home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / communic / castoolk / func0h.asm < prev    next >
Encoding:
Assembly Source File  |  1989-11-21  |  754 b   |  30 lines

  1. Include multi.inc
  2. Include model.inc
  3.  
  4. ;==============================================================================
  5. ;
  6. ;   CAS function 0h -- Get Installed State
  7. ;
  8. ;   Input:
  9. ;               none
  10. ;   Output:
  11. ;               Installed State in AX
  12. ;==============================================================================
  13.  
  14.                 .CODE
  15. CASGetInstalledState    PROC
  16.  
  17.                 mov     ax,MUX          ; multiplex number -> al
  18.                 mov     ah,al           ; multiplex number -> ah
  19.                 mov     al,0h           ; function 0 -> al
  20.                 int     2Fh
  21.  
  22.                 mov     ah,0            ; zero out ah
  23.  
  24.                 ret
  25. CASGetInstalledState    endp
  26.  
  27.                 END
  28.  
  29.  
  30.